import service from '@/utils/request'
const TopClassifyApi = {
  listTopClassify:function(data){
    return service.get('topClassify/page', {params:data})
  },
  addTopClassify:function(data){
      return service.post('topClassify', data)
  },
  editTopClassify:function(data){
      return service.put('topClassify', data)
  },
  deleteTopClassify:function(data){
      return service.put('topClassify/delete', data)
  },
  getTopClassifyInfo(data){
      return service.get('topClassify', {params:data})
  },
  topClassifyList:function(data){
    return service.get('topClassify/listIdName', {params:data})
  },
}

export default TopClassifyApi
